package csc.fresher.dao.impl;

import java.util.List;

import javax.sql.DataSource;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import csc.fresher.dao.InterestRateDao;
import csc.fresher.entity.InterestRate;
import csc.fresher.entity.SavingAccountHasInterestRate;

@Repository
public class InterestRateDaoImpl implements InterestRateDao {

	private static final Logger logger = Logger
			.getLogger(PeriodTypeDaoImpl.class);

	@Autowired
	DataSource dataSource;

	@Override
	public void insert(InterestRate interestRate) {
		
	}

	@Override
	public void update(InterestRate interestRate) {
		

	}

	@Override
	public InterestRate getInterestRateByID(int interestRateID) {
		return null;
	}

	@Override
	public InterestRate getInterestRateByType(int currentcyID, int periodTypeID) {
	return null;
	}

	@Override
	public List<InterestRate> getAllInterestRates() {
		return null;
	}

	//not completed
	@Override
	public List<InterestRate> getListInterestRates(int startIndex, int maxReturn) {
		return null;
	}

	@Override
	public int totalInterestRates() {
		return 0;
	}


	@Override
	public List<InterestRate> getAllInterestRateByCurrencyID(int currencyID) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public InterestRate getInterestNewestRateByType(int currencyID,
			int periodTypeID) {
		// TODO Auto-generated method stub
		return null;
	}



}
